package com.hut.mst.service.impl;

import com.hut.mst.dao.ClassroomMapper;
import com.hut.mst.pojo.Classroom;
import com.hut.mst.service.ClassroomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author JunHao Deng
 * @date 2021/04/01 10:54
 * @description：
 **/
@Service
public class ClassroomServicelmpl implements ClassroomService {
    @Autowired
    private ClassroomMapper classroomMapper;

    @Override
    public Classroom getClassroomBycrId() {
        return classroomMapper.getClassroomBycrId();
    }

    @Override
    public Classroom updateClassroom(Integer crid) {
        return classroomMapper.updateClassroom(crid);
    }
}
